//权限配置
const USER_TYPE_USER=0;//用户
const USER_TYPE_DRIVER=1;//驾驶员
const AUTORITY_TYPE=-1;//所以权限
const AUTORITY=[
    {groupType:1,name:'申请'},
    {groupType:2,name:'受理'},
    {groupType:3,name:'调度'},
    {groupType:4,name:'车队队长'},//派车
    {groupType:6,name:'归队结算'},
 
]
//菜单配置
const  MENU_ITEMS={

    "Home":[
    {title:'用车申请',minTit:'填写信息，进行派车',icon:require('./images/icon_yongcheshenqing.png'),routeName:'Apply',groupType:AUTORITY[0].groupType,isType:USER_TYPE_USER},
    {title:'我的用车',minTit:'用车情况，一键查看',icon:require('./images/icon_wodeyongche.png'),routeName:'MyUseCar',groupType:AUTORITY[0].groupType,isType:USER_TYPE_USER},
    {title:'我的费用',minTit:'用车费用，轻松掌握',icon:require('./images/icon_wodefeiyong.png'),routeName:'',groupType:AUTORITY[0].groupType,isType:USER_TYPE_USER},
    {title:'我的评价',minTit:'我们进步，与您同步',icon:require('./images/icon_yongchepingjia.png'),routeName:'Evaluate',groupType:AUTORITY[0].groupType,isType:USER_TYPE_USER}
    ],
    "Handle":[
      {title:'受理',minTit:'认真细致，服务大众',icon:require('./images/icon_yongcheshenqing.png'),routeName:'HandleList',groupType:AUTORITY[1].groupType,isType:USER_TYPE_USER},
    ],
    "Dispatch":[
        {title:'我的调度',minTit:'知你所需，轻松调度',icon:require('./images/icon_yongcheshenqing.png'),routeName:'DispatchList',groupType:AUTORITY[2].groupType,isType:USER_TYPE_USER},
        {title:'我的派车',minTit:'知你所需，轻松派单',icon:require('./images/icon_wodeyongche.png'),routeName:'DriveList',groupType:AUTORITY[3].groupType,isType:USER_TYPE_USER},
        {title:'归队登记',minTit:'不管在哪，轻松归队',icon:require('./images/icon_wodefeiyong.png'),routeName:'RejoinList',groupType:AUTORITY[4].groupType,isType:USER_TYPE_USER},
        {title:'派车登记表',minTit:'汽车司机，轻松了解',icon:require('./images/icon_yongchepingjia.png'),routeName:'',groupType:0,isType:USER_TYPE_USER}
        ],
   "Drive":[
          {title:'任务列表',minTit:'任务管理，无需过错',icon:require('./images/icon_yongcheshenqing.png'),routeName:'TaskList',groupType:0,isType:USER_TYPE_DRIVER},
          {title:'事故上报',minTit:'途中意外，轻松解决',icon:require('./images/icon_wodeyongche.png'),routeName:'',groupType:0,isType:USER_TYPE_DRIVER},
          {title:'车况上报',minTit:'车辆状况，一键上报',icon:require('./images/icon_wodefeiyong.png'),routeName:'',groupType:0,isType:USER_TYPE_DRIVER},
     ],
  };
  const drawerItems=[
    {id:1,icon:require('./images/reset_password_img.png'),name:'修改密码'},
    {id:2,icon:require('./images/version_updating_img.png'),name:'版本更新'},
    {id:3,icon:require('./images/app_out_img.png'),name:'退出账号'}
   ];
   const drawerItemsIOS=[
    {id:1,icon:require('./images/reset_password_img.png'),name:'修改密码'},

    {id:3,icon:require('./images/app_out_img.png'),name:'退出账号'}
   ]
  export{
    MENU_ITEMS,
    AUTORITY,
    USER_TYPE_USER,
    USER_TYPE_DRIVER,
    AUTORITY_TYPE,
    drawerItems,
    drawerItemsIOS
  
  }